package com.company.cloud.coupon.modules.mgr.controller.req;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.company.cloud.common.bean.BaseParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CouponFissionUpdateParam extends BaseParam {

	@ApiModelProperty(value = "ID",required = true)
	@NotNull(message = "ID不能为空")
	private Integer id;
	
	@ApiModelProperty(value = "活动名称" ,required = true)
	@NotEmpty(message = "活动名称不能为空")
	private String name;
	
	@ApiModelProperty(value = "活动截止时间(yyyy-MM-dd HH:mm:ss)",required = true)
	@NotEmpty(message = "活动截止时间不能为空")
	private String endDate;
	
	@ApiModelProperty(value = "优惠券领取数量",required = true)
	@NotNull(message = "优惠券领取数量不能为空")
	private Integer couponGiveNum = 2;
	
	@ApiModelProperty(value = "最佳手气次序")
	private Integer maxIndex;
}
